<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:ng="http://angularjs.org" id="ng-app" ng-app="ubang">
<head>
    <!--[if lte IE 8]>
    <script>
        document.createElement('ng-include');
        document.createElement('ng-pluralize');
        document.createElement('ng-view');

        // Optionally these for CSS
        document.createElement('ng:include');
        document.createElement('ng:pluralize');
        document.createElement('ng:view');
    </script>
    <![endif]-->
    <title></title>
    <meta charset="utf-8">
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <!-- 响应式设计 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/res/plugin/jquery-ui-1.10.3.custom/css/smoothness/jquery-ui-1.10.3.custom.min.css" rel="stylesheet">
    <link href="/res/plugin/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="/res/plugin/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="../res/css/main.css" rel="stylesheet">
    <style>
        .app {
            float: left;
            margin: 10px;
            height: 70px;
        }

        .app .info {
            display: none;
        }

        .app .item {
            text-align: center;
        }

        .app:hover .info {
            display: block;
            position: absolute;
            z-index: 99999;
            background: #aaaaaa;
            padding: 5px;
            width: 120px;
            border-radius: 5px 5px 5px 5px;
            float: left;
            margin-left: -20px;
        }

    </style>
    <script>
        function setNoApp(img) {
            $(img).attr("src", "/isys/res/images/no-app.png");
        }
    </script>
</head>
<body ng-controller="AllDocCrt">
<div ng-show="!pageData" style="padding: 20px;">
    数据加据中...
</div>
<div id="u_c_main" class="u_c_main" ng-show="pageData">
    <div class="u_title_bar">
        <span id="device_info" class="u_title">
            设备应用
            <span ng-show="pageData.items.length"> - 共{{pageData.items.length}}个</span>
        </span>
    </div>
    <div style="margin: 15px;">
        <div class="app" ng-repeat="item in pageData.items">
            <div class="item">
                <img style='display: block; width:50px;margin:4px 8px;' onerror="setNoApp(this)"
                     src='{{item.icon_show}}' alt="{{item.name}}"/>
                <span>{{item.name}}</span>
            </div>
            <div class="info">
                <label>大小：{{item.appSize_show}}</label>
                <label>版本：{{item.appVersion}}</label>
                <label>安装日期：<br/>{{item.appCreate_show}}</label>
            </div>
        </div>
    </div>
    <div class="text-center" ng-show="!pageData.items.length">
        <td colspan="5" style="text-align: center"> {{NORESULT}}</td>
    </div>

</div>
</body>
</html>
<script src="/res/plugin/jquery/jquery-1.10.1.js"></script>
<script src="/res/plugin/bootstrap/js/bootstrap.js"></script>
<script src="/res/plugin/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="/res/plugin/angular/angular.min.js"></script>
<script src="/res/plugin/json2.js"></script>
<script src="/res/plugin/underscore/underscore-min.js"></script>
<script src="../../res/js/common.js"></script>
<script src="../res/js/i_common.js"></script>
<script src="popapps.js"></script>